DeviceSDK Documentation
Build IoT applications with TypeScript. From prototype to production in minutes.
DeviceSDK is a free, open-source (AGPL-3.0), self-hosted IoT platform. You run the server yourself (Docker on a Raspberry Pi, NUC, NAS, or any host), write TypeScript device scripts, and connect microcontrollers over WebSocket.
New here?
Start with the Quickstart to go from zero to a deployed device in under 15 minutes, then follow Your First Device to understand how entrypoints work.
Browse documentation
Quickstart
Get from zero to your first deployment in under 15 minutes
Your First Device
Learn how to build your first device entrypoint with DeviceSDK
CLI Reference
Complete command-line interface reference for DeviceSDK
Concepts
Understand how DeviceSDK works
Guides
Step-by-step guides for common DeviceSDK tasks and integrations
Cookbook
Task-shaped recipes - one URL per how-to, complete runnable code
Hardware Compatibility
Supported microcontrollers and hardware platforms
MCP server (@devicesdk/mcp)
Drive DeviceSDK from OpenCode, Claude, Cursor, Continue, Windsurf and other MCP-aware coding agents
Error reference
Stable error codes returned by the DeviceSDK API and CLI
Changelog
Latest releases and updates for DeviceSDK
Resources
Reference materials, troubleshooting, and support for DeviceSDK